package com.changzhi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.changzhi.ldyl.model.FirstRechargeAward;
import com.changzhi.ldyl.model.FirstRechargeRecord;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 */
public interface FirstRechargeAwardMapper extends BaseMapper<FirstRechargeAward> {

    @Update("update yl_firstrecharge_award set status = 1, receive_time = now()  where record_id = #{recordId}")
    void updateAward(@Param("recordId") Integer id);
}
